import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set_node_cls from "@dfeidao/atom-web/ui/set-node-cls";
import set from '@dfeidao/atom-web/local/set';

export default async function a001(fd: IFeidaoAiBrowserComponent, flag: string) {
	// 显示添加弹出框
	const d = fd.data.node.querySelector<HTMLDListElement>('[data-id="add1"]');
	set_node_cls(d, 'display-n', false);
	set(fd, 'flag', flag);
}
